package cn.zzuli.springcloud.handler;

import cn.zzuli.commons.entity.CommonResult;
import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @Date: 2020/12/26 12:56
 * @Author: 绯色下午茶
 * @Description:
 */
public class CustomerBlockHandler {
    public static CommonResult handleException(BlockException exception){
        return new CommonResult(8001,"系统限流，正在维护中****1");
    }

    public static CommonResult handleException2(BlockException exception){
        return new CommonResult(8001,"系统限流，正在维护中****2");
    }
}
